<%  
render_tabnav :artwork, 
              :generate_css => false do 
    
	if !@artwork.new_record?
  	add_tab do |t|
    	t.named '1. Basic Info'
    	t.titled 'Basic Info'
    	t.links_to hash_for_edit_admin_artwork_url(:id => @artwork.to_param)
		end

		add_tab do |t|
			t.named '2. Description'
			t.titled 'Description'
			t.links_to hash_for_new_admin_artwork_artwork_description_url(:artwork_id => @artwork.to_param)
		end

		add_tab do |t|
			t.named '3. Media'
			t.titled 'Media'
			t.links_to hash_for_new_admin_artwork_media_url(:artwork_id => @artwork.to_param)
		end

		add_tab do |t|
			t.named '4. Categories'
			t.titled 'Categories'
			t.links_to hash_for_new_admin_artwork_category_url(:artwork_id => @artwork.to_param)
		end		

		add_tab do |t|
			t.named '5. Publish'
			t.titled 'Publish'
			t.links_to :controller => 'admin/artworks', :action => 'publish', :id => @artwork.id
		end
  end 
end 
%>